<template>
	<view class="main">
		<view class="header">
			<view class="left">
				<text>好评度</text>
				<u-rate size="26" active-color="#FF6C00" inactive-color="#FF6C00" disabled v-model="value"></u-rate>
				<text>(91)</text>
			</view>
			<view class="right">
				<text>成功率</text>
				<text>100%</text>
			</view>
		</view>
		<view class="content">
			<block v-for="(item,index) in 5" :key="index">
				<view class="item">
					<view class="top">
						<view class="left">
							<image src="" mode=""></image>
							<view class="center">
								<view class="name">Lee Yan</view>
								<view class="date">发布于2021年6月15日</view>
							</view>
						</view>
						<u-rate size="26" active-color="#FF6C00" inactive-color="#FF6C00" disabled v-model="value"></u-rate>
					</view>
					<view class="cont">
						非常满意
					</view>
				</view>
			</block>
		</view>
	</view>
</template>

<script>
	export default {
		components:{
			
		},
		data() {
			return {
				value:4,
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.main{
		min-height: 100vh;
		background-color: #f9f9f9;
		.header{
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 38rpx 30rpx 32rpx 30rpx;
			background-color: #ffffff;
			text{
				font-size: 24rpx;
				font-weight: 400;
				color: #333333;
				line-height: 34rpx;
			}
			text:first-child{
				color: #888888;
				margin-right: 20rpx;
			}
		}
		.content{
			min-height: calc(100vh - 104rpx);
			padding: 0 30rpx;
			background-color: #ffffff;
			margin-top: 20rpx;
			.item{
				padding: 34rpx 0rpx 30rpx 0rpx;
				border-bottom: 1px solid #E6E6E6;
				.top{
					display: flex;
					justify-content: space-between;
					align-items:flex-start;
					.left{
						display: flex;
						justify-content: space-between;
						align-items:flex-start;
						image{
							width: 80rpx;
							height: 80rpx;
							border-radius: 50rpx;
						}
						.center{
							margin-left: 22rpx;
							.name{
								font-size: 32rpx;
								font-weight: 600;
								color: #333333;
								line-height: 34rpx;
							}
							.date{
								font-size: 24rpx;
								font-weight: 400;
								color: #888888;
								line-height: 34rpx;
							}
						}
					}
					
				}
				.cont{
					margin-top: 30rpx;
					font-size: 24rpx;
					font-weight: 400;
					color: #333333;
					line-height: 34rpx;
				}
			}
			.item:last-child{
				border-bottom: 0;
			}
		}
	}
</style>
